package chessboard;

import Jama.Matrix;

public class Move {

    private Field start, destination;
    private Matrix startHom, destHom;
    
    public Move(Field start, Field destination) {
	this.start = start;
	this.destination = destination;
	this.startHom = new Matrix(4,4);
	this.destHom = new Matrix(4,4);
    }

    public Field getStart(){
	return start;
    }
    
    public Field getDestination(){
	return destination;
    }
    
    public void setStartHom(Matrix startHom){
    	this.startHom = startHom;
    }
    
    public void setDestHom (Matrix destHom){
    	this.destHom = destHom;
    }
    
    public Matrix getStartHom(){
	return startHom;
    }
    
    public Matrix getDestHom(){
	return destHom;
    }
    
    public String toString(){
    	return start.toString() + " -> " + destination.toString();
    }
    
}
